# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.shortcuts import render
from results.models import Day_money,Years_money,Month_money
# Create your views here.

def cms_index(request):
    return render(request, 'others.html')



def results_display(request):
    if request.method == 'GET':
        mon_data = Month_money()
        year_data = Years_money()
        return render(request, 'results/orders.html', {'mon_data': mon_data, 'year_data': year_data})